package com.kexuexiong.demo.common.feignProvider.baseService.person;

import com.kexuexiong.demo.common.dto.PersonDTO;
import com.kexuexiong.demo.common.dto.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "bearBase-web", path = "bearBase",contextId = "bearBaseWebPersonFeignClient")
public interface PersonFeignClient {

    @PostMapping(value = "/person/create")
    Result create(@RequestBody PersonDTO params);
}
